//导入requset工具
import request from '@/utils/request'
//查询员工
export const employeePageService = (params) => {
  return request.get('/admin/employee/page', { params: params })
}
//禁用启用用户
export const disableEnablingEmployeeService = (employeeId) => {
  return request.post('/admin/employee/disableEnabling', {
    id: employeeId // 直接传对象，无需 JSON.stringify
  })
}
//修改员工
export const updateEmoployeeService = (employeeData) => {
  console.log("123123213" + employeeData)
  return request.put('/admin/employee', employeeData)
}

